package com.zxy.ziems.server.monitor.pojo.hik;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 监控摄像头预览请求
 * @author chdzq
 * @create 2023/5/25
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MonitorCameraPreviewParam {

    /**
     * 监控id
     */
    @NotBlank(message = "监控ID不能为空")
    private String deviceId;

    /**
     * 实时流控制协议 hls、rstp等, 不传为hls
     */
    private String protocol;
}
